package com.wzh.mall.auth.feign;

import com.wzh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @program: mall
 * @description:
 * @author: Mr.Wang
 * @create: 2021-09-15 12:09
 **/
@FeignClient("mall-third-party")
public interface ThirdPartFeignService {


    @GetMapping("/sms/sendCode")
    public R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);

}
